Flow of functions in biplotEZ

First step to create a biplot

biplot(data=iris, 
       group.aes = iris[,5],
       Title="My first biplot")
Argument Description
data a dataframe or matrix containing all variables the user wants to analyse.
classes a vector identifying class membership. Required for CVA biplots
group.aes Variable from the data to be used as a grouping variable.
center a logical value indicating whether data should be column centered, with default TRUE.
scaled a logical value indicating whether data should be standardised to unit column variances, with default FALSE.
Title Title of the biplot to be rendered.

Type of biplot: PCA

PCA()
Argument Description
bp Object of class biplot.
dim.biplot Dimension of the biplot. Only values 1, 2 and 3 are accepted, with default 2.
e.vects Which eigenvectors (principal components) to extract, with default 1:dim.biplot.
group.aes If not specified in biplot()
show.class.means T or F: Indicating whether group means should be plotted in the biplot.
correlation.biplot T or F: Indicating whether distances or correlations between the variables are optimally approximated.

Theory

PCA biplot

biplot(data=iris, 
       group.aes = iris[,5],
       Title="My first biplot") |> PCA() |> plot()